Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aria-ui/collection

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aria-ui/collection

## Collection #

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3.5K
increased by15.35%
Maintainers
0
Weekly downloads
 
Created
Source

@aria-ui/collection

Collection #

constructor

new Collection(items: Iterable<HTMLElement, any, any>, loop?: boolean): Collection

loop

Type: boolean

first

const first: () => null | string;

getElement

const getElement: (value: string) => null | HTMLElement;

getValues

const getValues: () => string[];

last

const last: () => null | string;

next

const next: (value: null | string) => null | string;

prev

const prev: (value: null | string) => null | string;

size

const size: () => number;

ItemFilter #

The filter function to determine if an item should be shown in the collection.

Type: (options: { query: string; value: string }) => boolean

defaultItemFilter #

A simple case-insensitive substring match filter.

function defaultItemFilter(options: { query: string; value: string }): boolean;

FAQs

Package last updated on 13 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc